<?php

namespace app\admin\controller;

use think\Controller;

class Index extends Controller
//class Index
{

    public function index()
    {
//        return 'ADMIN/INDEX/INDEX';
//        $this->assign('title', 'TP5后台');
//        return $this->fetch();
        // 助手函数
        return view('index/index', [
            'title'=>'TP555555555 admin'
        ]);
    }


    public function jump()
    {
//        $this->success('成le ~!!', 'admin/user/index');
        $this->error('败le ~!!', 'admin/user/index');
    }

    public function rd()
    {
//        $this->redirect('index/index/user', ['id'=>99]);
        $this->redirect('http://huaban.com');
    }


}


